﻿using System.Collections.Generic;

namespace WA.Core.DaoInterfaces
{
   
    public interface IDao<T, IdT>
    {
        T GetById(IdT id);
        List<T> GetAll();
        T Save(T entity);
        T Update(T entity, T originalEntity);
        void Delete(T entity);
        void CommitChanges(object entity);
    }
}
